package org.dept.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.dept.pojo.Dept;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {

    public int addDept(Dept dept);
    public Dept select(@Param("id") int id);
    public List<Dept> dList();
}
